﻿using MediatR;
using System.ComponentModel.DataAnnotations;
using static T.Materials.Domain.Enum.Enums;

namespace T.Materials.API.Application.Command.MaterialRequisitionCommand
{
    /// <summary>
    /// 更新物资领用状态命令
    /// </summary>
    public class UpdadteMaterialRequisitionStatusCommand : IRequest<int>
    {
        /// <summary>
        /// 物资领用ID
        /// </summary>
        public int MaterialRequisitionId { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public ApprovalStatus? ApprovalStatus { get; set; }
    }
}
